.personal-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
}

.personal-card {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  overflow: hidden;
  background-color: #ffffff;
  border: 1px solid #e6f0ff;
}

.card-title {
  font-size: 24px;
  font-weight: 600;
  color: #1677ff;
  text-align: center;
  width: 100%;
  padding: 8px 0;
}

.profile-content {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.profile-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-bottom: 32px;
}

.avatar-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.user-avatar {
  border: 4px solid #e6f0ff;
  box-shadow: 0 2px 8px rgba(22, 119, 255, 0.15);
}

.change-avatar-btn {
  background-color: #f0f7ff;
  border-color: #d6e8ff;
  color: #1677ff;
  
  &:hover {
    background-color: #e6f0ff;
    border-color: #1677ff;
    color: #1677ff;
  }
}

.user-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 500px;
}

.user-name {
  margin: 0 0 8px 0;
  font-size: 28px;
  font-weight: 600;
  color: #1677ff;
}

.username {
  margin: 0 0 16px 0;
  font-size: 16px;
  color: #5c9aff;
}

.signature {
  margin: 0;
  font-size: 16px;
  color: #595959;
  line-height: 1.6;
  padding: 12px 24px;
  background-color: #f8fbff;
  border-radius: 8px;
  width: 100%;
}

.info-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.section-title-container {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin: 16px 0;
  
  &::after {
    content: '';
    position: absolute;
    height: 1px;
    background-color: #e6f0ff;
    width: 100%;
    bottom: 0;
  }
}

.section-title {
  font-size: 20px;
  font-weight: 500;
  color: #1677ff;
  margin: 0;
  padding: 12px 24px;
  background-color: #ffffff;
  position: relative;
  z-index: 1;
  text-align: center;
}

.info-icon {
  margin-right: 8px;
  color: #1677ff;
}

.personal-descriptions {
  margin-top: 16px;
  
  :global(.ant-descriptions-item-label) {
    background-color: #f0f7ff !important;
    color: #1677ff;
    font-weight: 500;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  :global(.ant-descriptions-item-content) {
    background-color: #ffffff;
  }
}

.edit-button-container {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

.edit-button {
  height: 40px;
  padding: 0 24px;
  font-size: 16px;
  font-weight: 500;
  border-radius: 20px;
  background: linear-gradient(135deg, #4a89dc, #1e5799);
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  border: none;
  box-shadow: 0 4px 8px rgba(30, 87, 153, 0.2);
  transition: all 0.3s ease;
  
  &:hover {
    background: linear-gradient(135deg, #5d9cec, #2b6fc2);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(30, 87, 153, 0.25);
  }
  
  &:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(30, 87, 153, 0.2);
  }
}

.personal-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 400px;
  gap: 16px;
  
  p {
    color: #1677ff;
    font-size: 16px;
  }
}

.personal-error {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 400px;
  
  p {
    color: #ff4d4f;
    font-size: 16px;
  }
}

.edit-form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 24px;
}

// 响应式设计
@media (max-width: 768px) {
  .personal-container {
    padding: 16px;
  }
  
  .profile-header {
    padding-bottom: 24px;
  }
  
  .user-name {
    font-size: 24px;
  }
  
  .signature {
    padding: 8px 16px;
  }
  
  .card-title {
    font-size: 20px;
  }
  
  .section-title {
    font-size: 18px;
    padding: 8px 16px;
  }
}